
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import i18n from './common/utils/i18n'
import Cookies from 'js-cookie'
import Clipboard from 'v-clipboard'
import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
import { Icon } from '@iconify/vue2'
import Card from '@/components/Card.vue'
import 'animate.css'
import 'nprogress/nprogress.css'
import '@/common/style/index.scss'

// import DpUI from '@ieggdevops/dp-ui'
// import '@ieggdevops/dp-ui/lib/dp-ui.css'

Vue.config.productionTip = false

Vue.prototype.cookie = Cookies
Vue.component('Icon', Icon)
Vue.component('Card', Card)
Vue.use(ElementUI, {
  i18n: (key, value) => i18n.t(key, value)
})
// Vue.use(DpUI)
Vue.use(Clipboard)

dayjs.extend(utc)

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount('#app')
